package com.axdoc.wallet.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 医生余额子账户
 * 
 * @author sunzhaoli
 *
 */
public class DoctorBalanceSubWallet implements Serializable {

	private static final long serialVersionUID = 7983251408362523596L;
	/**
	 * 主键
	 */
	private int id;
	/**
	 * 账户编号
	 */
	private String walletNo;
	/**
	 * 关联主账户
	 */
	private String mWalletNo;
	/**
	 * 支付密码
	 */
	private String payPassword;
	/**
	 * 是否允许支付：0不可以/1可以
	 */
	private int isAllowedPay;
	/**
	 * 是否允许充值：0不允许/1允许
	 */
	private int isAllowedRecharge;
	/**
	 * 是否允许提现：0不允许/1允许
	 */
	private int isAllowedWithdrawal;
	/**
	 * 状态：0冻结/1激活
	 */
	private int state;
	/**
	 * 总余额,单位分
	 */
	private int balance;
	/**
	 * 可提现金额
	 */
	private int withdrawalBalanceCan;
	/**
	 * 提现中金额
	 */
	private int withdrawalBalanceWait;
	/**
	 * 创建时间
	 */
	private Timestamp createTime;
	/**
	 * 修改时间
	 */
	private Timestamp updateTime;
	
	/**
	 * 医生id
	 */
	private String docid;
	/**
	 * 冻结金额
	 */
	private int forzenBalance;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getWalletNo() {
		return walletNo;
	}

	public void setWalletNo(String walletNo) {
		this.walletNo = walletNo;
	}

	public String getmWalletNo() {
		return mWalletNo;
	}

	public void setmWalletNo(String mWalletNo) {
		this.mWalletNo = mWalletNo;
	}

	public String getPayPassword() {
		return payPassword;
	}

	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}

	public int getIsAllowedPay() {
		return isAllowedPay;
	}

	public void setIsAllowedPay(int isAllowedPay) {
		this.isAllowedPay = isAllowedPay;
	}

	public int getIsAllowedRecharge() {
		return isAllowedRecharge;
	}

	public void setIsAllowedRecharge(int isAllowedRecharge) {
		this.isAllowedRecharge = isAllowedRecharge;
	}

	public int getIsAllowedWithdrawal() {
		return isAllowedWithdrawal;
	}

	public void setIsAllowedWithdrawal(int isAllowedWithdrawal) {
		this.isAllowedWithdrawal = isAllowedWithdrawal;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getBalance() {
		return balance;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public int getWithdrawalBalanceCan() {
		return withdrawalBalanceCan;
	}

	public void setWithdrawalBalanceCan(int withdrawalBalanceCan) {
		this.withdrawalBalanceCan = withdrawalBalanceCan;
	}

	public int getWithdrawalBalanceWait() {
		return withdrawalBalanceWait;
	}

	public void setWithdrawalBalanceWait(int withdrawalBalanceWait) {
		this.withdrawalBalanceWait = withdrawalBalanceWait;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public String getDocid() {
		return docid;
	}

	public void setDocid(String docid) {
		this.docid = docid;
	}

	public int getForzenBalance() {
		return forzenBalance;
	}

	public void setForzenBalance(int forzenBalance) {
		this.forzenBalance = forzenBalance;
	}
	
	
}
